home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / UNIX.ZIP / VMSCRACK / MAKEFILE.WAT < prev    next >
Encoding:
Text File  |  1996-11-14  |  1.1 KB  |  53 lines

  1. #****************************************************************************#
  2. #                                                                            #
  3. # Make file for WATCOM C/C++ 32 Bit                                          #
  4. #                                                                            #
  5. #****************************************************************************#
  6.  
  7. #name the compiler
  8.  
  9. CC     = wcc386
  10. CFLAGS = -mf -bt=dos -3r -omaxnte=16384 -fp3 -zp2 -dUSE386 #-d2
  11.  
  12. #linker
  13.  
  14. LINK   = wlink
  15. LNKOPT = op stub=wstubq,caseexact #debug all
  16.  
  17. #system
  18.  
  19. system = dos4g 
  20.  
  21. .EXTENSIONS:
  22. .EXTENSIONS: .exe .lib .obj .c
  23.  
  24. .BEFORE
  25.     @set INCLUDE=.;$(%watcom)\h
  26.     @set DOS4G=QUIET
  27.  
  28. #implicit rules
  29.  
  30. .c.obj :
  31.     $(CC) $^& $(CFLAGS)
  32.  
  33. #executable files
  34.  
  35. exes = vmsc.exe
  36.  
  37. # explicit rules
  38.  
  39. all : $(exes) .symbolic
  40.       @%null
  41.  
  42. mix : $(mix_exes) .symbolic
  43.       @%null
  44.  
  45. vmsc.exe : vmsc.obj getopt.obj hpwd.obj .PRECIOUS
  46.     wlink $(LNKOPT) system $(system) file vmsc,getopt,hpwd name vmsc
  47.  
  48. vmsc.obj : vmsc.c mytypes.h getopt.h sysuaf.h hpwd.h
  49.  
  50. getopt.obj : getopt.c
  51.  
  52. hpwd.obj : hpwd.c hpwd.h mytypes.h
  53.